package com.eric.service;
import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.SysPermissionDto;
import com.eric.domain.po.SysPermission;
import com.github.yulichang.base.MPJBaseService;
import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author 新哥
 * @since 2024-03-12
 */
public interface ISysPermissionService extends MPJBaseService<SysPermission> {

    SaResult savePermissionListService(List<SysPermissionDto> permissionDtos);

    SaResult getAllPermissions();

    SaResult modifyOneService(SysPermissionDto permissionDto);

    SaResult getByNameService(String name, Integer current, Integer pageSize);

}
